﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SelectProductCategory.ascx.cs"
    Inherits="BestBuy.UserControls.SelectProductCategory" %>
<style type="text/css">
.select-category
{
    height: 250px !important;
    margin-right: 20px;
}
</style>
<asp:Panel runat="server" ID="MainContent">
    <asp:UpdatePanel runat="server" UpdateMode="Always">
        <ContentTemplate>
            <asp:ListBox runat="server" ID="FirstLevelCatListBox" DataTextField="Name" DataValueField="ID" CssClass="select-category"
                AutoPostBack="true" OnSelectedIndexChanged="FirstLevelCatListBox_SelectedIndexChanged" />
            <asp:ListBox runat="server" ID="SecondLevelCatListBox" DataTextField="Name" DataValueField="ID" CssClass="select-category"
                AutoPostBack="true" OnSelectedIndexChanged="SecondLevelCatListBox_SelectedIndexChanged" />
            <asp:ListBox runat="server" ID="ThirdLevelCatListBox" DataTextField="Name" DataValueField="ID" CssClass="select-category" />
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Panel>
